package com.yxinsur.imc.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
public class DenominatorOrderVo {

    @ApiModelProperty("保单号")
    @Excel(name = "保单号")
    private String policyCode;
    @ApiModelProperty("险种名称")
    @Excel(name = "险种名称")
    private String riskName;
    @ApiModelProperty("代理人名称")
    @Excel(name = "代理人名称")
    private String fullName;
    @ApiModelProperty("代理人工号")
    @Excel(name = "代理人工号")
    private String brokerCode;
    @ApiModelProperty("险种编码")
    @Excel(name = "险种编码")
    private String insCode;
    @ApiModelProperty("生效日期")
    @Excel(name = "生效日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date effectiveDate;
    @ApiModelProperty("应收金额")
    @Excel(name = "应收金额")
    private BigDecimal payablePrem;
    @ApiModelProperty("实收金额")
    @Excel(name = "实收金额")
    private String paymentPrem;
    @ApiModelProperty("应收日期")
    @Excel(name = "应收日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date payableDate;
    @ApiModelProperty("实收日期")
    @Excel(name = "实收日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date paymentDate;

}
